package themis.flink.riskengine;

import java.util.HashMap;

public class RuleManager {
    private static HashMap<String, IRuleParseFactory> hm = new HashMap<>();

    static {
        hm.put("str", new StrRuleParseFactory());
    }

    public static IRuleParseFactory getParserFactory(String name) {
        return hm.get(name);
    }
}
